95bc6a0e3a4da0c9e2d0bff722811b09781f3387,src/test/java/org/openqa/selenium/interactions/BasicMouseInterfaceTest.java,BasicMouseInterfaceTest,testMoveMouseByOffsetOverAndOutOfAnElement,#,452
Before Change
new Actions(driver).moveToElement(greenbox, 2, 2)
.moveByOffset(shiftX, shiftY)
.moveByOffset(-shiftX, -shiftY).perform();
assertEquals(
Colors.GREEN.getColorValue(), Color.fromString(redbox.getCssValue("background-color")));
}
@JavascriptEnabled
After Change
.moveByOffset(shiftX, shiftY)
.moveByOffset(-shiftX, -shiftY).perform();
shortWait.until(attributeToBe(redbox, "background-color", Colors.GREEN.getColorValue().asRgba()));
}
@JavascriptEnabled